#include"ListNode.h"
void test01()
{
	ListNode* plist = Init();
	ListPushBack(plist, 1);
	ListPushBack(plist, 2);
	ListPushBack(plist, 3);
	ListPushBack(plist, 4);
	ListPrint(plist);
	/*ListPrint(plist);
	ListPopBack(plist);
	ListPrint(plist);
	ListPopBack(plist);
	ListPrint(plist);
	ListPopBack(plist);
	ListPrint(plist);*/
	ListPushFront(plist, 1);
	ListPushFront(plist, 2);
	ListPushFront(plist, 3);
	ListPushFront(plist, 4);
	ListPrint(plist);
	ListPopFront(plist);
	ListPrint(plist);
	ListNode* find = ListFind(plist, 2);
	ListInsert(find, 100);
	ListErase(find);
	ListPrint(plist);
	ListDestory(plist);
	plist = NULL;

}
int main()
{
	test01();
	return 0;
}